package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.domain.entity.DoctorDetailsEntity;
import com.ym.medical.enums.DoctorJobTitle;
import com.ym.medical.enums.HospitalLevelEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author dai
 * @create 2019-05-05 10:40
 **/

@Data
@ApiModel("返回医生列表信息")
public class ResultDoctor implements Serializable {

	@ApiModelProperty("医生详情信息")
	private DoctorDetailsEntity doctorDetails;

	/**
	 * 医生ID
	 */
	@ApiModelProperty("医生ID")
	private Long userId;

	/**
	 * 医生图片
	 */
	@ApiModelProperty("医生照片")
	private String doctPhotoUrl;
	/**
	 * 医生姓名
	 */
	@ApiModelProperty("医生姓名")
	private String realName;
	/**
	 * 医生科室
	 */
	@ApiModelProperty("医生科室")
	private String deptName;

	/**
	 * 医生职称名称
	 */
	@ApiModelProperty("医生职称名称")
	@JsonSerialize(converter = DoctorJobTitle.Covert.class)
	private String jobTitle;

	/**
	 * 所属医院等级
	 */
	@ApiModelProperty("所属医院等级")
	@JsonSerialize(converter = HospitalLevelEnum.Covert.class)
	private String hosLevel;

	/**
	 * 所属医院名称
	 */
	@ApiModelProperty("所属医院名称")
	private String hosName;

	@ApiModelProperty("医生擅长")
	private String goodsLabel;

	@ApiModelProperty("医生标签")
	private String patientLabel;
	/**
	 * 回答次数
	 */
	@ApiModelProperty("回答次数")
	private String num;
	/**
	 * 推荐指数
	 */
	@ApiModelProperty("推荐指数")
	private String recommentRate;

	@ApiModelProperty("是否已关注(true false)")
	private boolean attention;

	@ApiModelProperty("通讯录id")
	private Long attentionId;

	@ApiModelProperty("诊所介绍")
	private String hosDescribe;

	@ApiModelProperty("是否接诊")
	private String accept;

	@ApiModelProperty("是否接诊")
	private String acceptName;

	@ApiModelProperty("云信账户")
	private String accId;

	@ApiModelProperty("云信密码")
	private String token;

	@ApiModelProperty("图文最低价")
	private BigDecimal textMinPrice;

	@ApiModelProperty("电话最低价")
	private BigDecimal phoneMinPrice;

	@ApiModelProperty("医院经度")
	private Double hosLongitude;

	@ApiModelProperty("医院纬度")
	private Double hosLatitude;

	@ApiModelProperty("患者距离医院的距离")
	private String distance;

	@ApiModelProperty("医生图文义诊价格")
	private BigDecimal textClinicPrice;

	@ApiModelProperty("义诊折扣")
	private BigDecimal textClinicRebate;

	@ApiModelProperty("义诊剩余名额")
	private int ClinicLastTime;

	@ApiModelProperty("某个医生是否可义诊")
	private Boolean isClinic;
}
